package com.zuser.project.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zuser.project.dao.RewardRuleDao;
import com.zuser.project.entity.RewardRuleEntity;
import com.zuser.project.service.RewardRuleService;
import com.zuser.project.util.CommonServiceUtil;
import com.zuser.project.util.R;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service("rewardRuleService")
public class RewardRuleServiceImpl extends ServiceImpl<RewardRuleDao, RewardRuleEntity> implements RewardRuleService {

    @Override
    public R queryPage(Map<String, Object> params) {
        CommonServiceUtil<RewardRuleEntity, RewardRuleServiceImpl> util = new CommonServiceUtil<>(this);
        return util.queryPage(params);
    }

}